home *** CD-ROM | disk | FTP | other *** search
-
-
-
- ggggeeeetttthhhhiiiittttccccooooddddeeee((((3333GGGG)))) ggggeeeetttthhhhiiiittttccccooooddddeeee((((3333GGGG))))
-
-
-
- NNNNAAAAMMMMEEEE
- ggggeeeetttthhhhiiiittttccccooooddddeeee - returns the current hitcode
-
- CCCC SSSSPPPPEEEECCCCIIIIFFFFIIIICCCCAAAATTTTIIIIOOOONNNN
- lllloooonnnngggg ggggeeeetttthhhhiiiittttccccooooddddeeee(((())))
-
- PPPPAAAARRRRAAAAMMMMEEEETTTTEEEERRRRSSSS
- _n_o_n_e
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- ggggeeeetttthhhhiiiittttccccooooddddeeee returns the global variable _h_i_t_c_o_d_e, which keeps a cumulative
- record of clipping plane hits. It does not change the hitcode value.
-
- The hitcode is a 6-bit number, with one bit for each clipping plane:
-
- 5 4 3 2 1 0
- _____________________________________________________
- far near top bottom right left
- _____________________________________________________
- |||
- |||
- |||
- |||
- |||
- |||
- |||
-
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- clearhitcode, gselect, pick
-
- NNNNOOOOTTTTEEEESSSS
- This routine is available only in immediate mode.
-
- The symbolic values for the hitcode bits shown above are defined in
- <_g_l/_g_e_t._h>.
-
- This routine only functions on IRIS-4D B and G models, and therefore we
- advise against its use in new development.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-